package ycj.learn.spring.bean;

import ycj.learn.spring.common.Person;
import org.junit.Test;
import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class Test03 {

    @Test
    public void testProperty() {
        ApplicationContext applicationContext = new AnnotationConfigApplicationContext(ConfigBeans03.class);

        Person person = applicationContext.getBean(Person.class);

        System.out.println(person);
    }

}
